using System;
namespace ch.ethz.ssh2.crypto.digest
{
	
	/// <summary> Digest.
	/// 
	/// </summary>
	/// <author>  Christian Plattner
	/// </author>
	/// <version>  2.50, 03/15/10
	/// </version>
	public interface Digest
	{
		int DigestLength
		{
			get;
			
		}
		
		void  update(byte b);
		
		void  update(byte[] b);
		
		void  update(byte[] b, int off, int len);
		
		void  reset();
		
		void  digest(byte[] output);
		
		void  digest(byte[] output, int off);
	}
}